package com.project.design.proxy.cglib;

import com.project.design.proxy.jdk.UserMapper;
import com.project.design.proxy.jdk.UserMapperImpl;

public class CglibClient {

    public static void main(String[] args) {
        CglibProxy proxy = new CglibProxy();
        UserMapper user =  (UserMapper) proxy.getCglibProxy(new UserMapperImpl());
        user.addUser("李四","123456");
    }
}
